/*
 * @Author: zhangweixin 
 * @Date: 2019-03-30 20:15:54 
 * @Last Modified by: zhangweixin
 * @Last Modified time: 2019-03-30 21:40:57
 */
const routerFuntion = (app) =>{
    const {router,controller} = app;
    router.get("/",controller.home.index);
    router.get('/news', controller.news.list);
}

module.exports = routerFuntion;